function foo() {
  console.log("foo");
  return 111;
}

async function bar() {
  console.log("bar");
  const a = await foo();
  console.log("bar end", a);
}

async function baz() {
  await bar();
  console.log("baz");
}

console.log("aaa");

baz();

console.log("bbb");
